package server.java.autoduel.Weapons;

import java.io.Serializable;

import server.java.autoduel.Cars.Car;

import com.sun.sgs.app.ManagedObject;

/**
 * Anything that is solid in the AutoDuel world must implement this class
 * 
 * @author Ian Axelrod
 * @author Liz Ha
 * @author Andrew Muldowney
 * @author Edward Futch
 */
public abstract class Collidable implements ManagedObject, Serializable {
	private static final long serialVersionUID = -4456857852149472492L;

	/**
	 * Detects if a car collides with this object
	 * 
	 * @param car
	 */
	abstract public void ifCollide(Car car);
}
